<template>
	<div class="main">
		<div class="register-form">
			<van-field
				v-model="Mobile"
				label="手机"
				placeholder="请输入手机号"
				input-align="right"
        readonly
			/>
			<div style="margin: 20px">
				<van-button block type="info" @click="onSubmit"
					>修改手机号</van-button
				>
			</div>
		</div>
	</div>
</template>

<script>
import { Toast, Form } from 'vant'

var wait = 60
export default {
	components: {},
	data() {
		return {
			code: '',

			Mobile: this.$route.query.phone,
		}
	},
	methods: {
		// 表单提交
		onSubmit() {
			this.$router.push('/Home/My/ChangePhone')
		},
	},
}
</script>

<style lang="less" scoped>
.register-form {
}
.phone {
	position: relative;
	.code {
		position: absolute;
		right: 20px;
		top: 20px;
		font-size: 12px;
	}
}
</style>

